﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class XuatTamGiac
    { 
        public void Xuat(int M)
        {
            ToHop obj2;
            Console.WriteLine("1\n1\t1");
            for (int i1 = 2; i1 < M; i1++)
            {
                
                
                for (int i2 = 0; i2 <= M; i2++)
               {
                    
                    obj2 = new ToHop(i2, i1);
                    float KQ = obj2.Pascal();
                    if (KQ == 0)
                    {
                        continue;
                    }
                    else
                    {
                        Console.Write(KQ);
                        Console.Write("\t");
                    }
                    
               }
                Console.WriteLine();
                
            }
        }
    }
}
